<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Demo</title>
    <script src="../js/lib/jquery-3.1.1.min.js"></script>
</head>
<body>
<div style="width:1000px; height:1000px;" class="crysyan-designer"></div>
</body>

</html>
<script src="../js/crysyan-designer.js"></script>
<script>
    $(".crysyan-designer").CrysyanDesigner({
        projectPath:"",
        canvas: {
            // px
            width: 900,
            height: 500
        },
        toobar: {
            length: 500
        }
    }, function(designer) {
        console.dir(designer);
        var dataurl =
                ""
        designer.drawBackgroupWithImage(dataurl);
    });

    //
    var designer=CrysyanDesigner({
        canvas: {
            // px
            width: 900,
            height: 500
        },
        toobar: {
            length: 500
        }
    }, function(designer) {
        console.dir(designer);
    });

    designer.appendTo()
</script>
